<!DOCTYPE html>
<html ng-app=authapp>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>江苏省中等职业院校评估系统</title>
    <meta name="keywords" content="江苏省中等职业院校评估系统">
    <meta name="description" content="江苏省中等职业院校评估系统">

    <link rel="stylesheet" href="../../../plugin/bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" href="../../../basic/style/base.css" />
    <link rel="stylesheet" href="../../../models/admin/css/home.css"/>
    <link rel="stylesheet" href="../../../models/agency/css/monitorSeeMap.css"/>
    <script src="../../../plugin/angular/angular.min.js"></script>
    <script src="../../../plugin/angular/angular-cookies.min.js"></script>
    <script src="../../../plugin/angular/ng-file-upload.min.js"></script>
    <script src="../../../basic/js/source.js"></script>
    <script src="../../../basic/js/base.js"></script>
    <script src="../../../models/agency/js/schoolfilldata/monitorSeeMap.js"></script>
    <script src="../../../basic/js/directive.js"></script>
</head>

<body>
<div authheader></div>
<div class="main-content" >
    <div leftaside></div>
    <aside>
        <div class="top-bar"><a href="school_dataFill.html">一级指标申请管理</a><s class="arrowr"></s><a href="javascript :;" onClick="javascript :history.back(-1);">二级指标申请管理</a><s class="arrowr"></s><a href="javascript :;" onClick="javascript :history.back(-1);">二级指标详情</a><s class="arrowr"></s><a href="javascript :;" onClick="javascript :history.back(-1);">测评点</a><s class="arrowr"></s><span>测评点分项</span></div>
        <form class="m-add" ng-controller="monitorSeeMapController" name="myForm" novalidate>
            <div ng-if="!state_btn">
                <div class="add-apply" ng-click="saveData()">保存数据</div>
            </div>

            <div class="list-content">
                <div>
                    <div class="cooleList title">
                        <span class="sl">测评点分项</span>
                        <span class="s2">数据填报</span>
                    </div>
                </div>

                <div ng-repeat="arraylist in list">
                    <div class="cooleList">
                        <span class="sl ng-binding" title="{{arraylist.s_name}}">{{arraylist.s_name}}</span>
                        <span class="s2 ng-binding"  ng-if="arraylist.p_type == 'text'" title="{{arraylist.s_desc}}">
                            <input name="{{arraylist.listItemsname}}" ng-model="$parent.conf[$index]"  type="text" placeholder="" maxlength="200" required/>
                        </span>
                        <span class="s2 ng-binding"  ng-if="arraylist.p_type == 'number'" title="{{arraylist.s_desc}}">
                            <input  name="{{arraylist.listItemsname}}" ng-model="$parent.conf[$index]"  type="text" placeholder=""  required onkeyup="value=value.replace(/[^\d]/g,'')"/>
                        </span>
                        <span class="s2 ng-binding"  ng-if="arraylist.p_type == 'file'" title="{{arraylist.s_desc}}">
                            <div class="uploade">
                                <span class="ng-binding">上传文件</span><input ng-value="{{uploadFileName}}" ng-model="$parent.conf[$index]" type="file" ngf-select="uploadFiles($file, $invalidFiles,'1')" ngf-max-height="1000" ngf-max-size="3MB" />
                            </div>
                            <div class="uploadeFilename" title="{{uploadFileName}}">
                                <span ng-bind="uploadFileName" class="ng-binding" >上传</span>
                            </div>
                        </span>
                        <span class="s2 ng-binding"  ng-if="arraylist.p_type == 'filepic'" title="{{arraylist.s_desc}}">
                            <div class="uploade">
                                <span class="ng-binding">上传图片</span><input value="$parent.conf[$index]" ng-model="$parent.conf[$index]" type="file" ngf-select="uploadPics($file, $invalidFiles,'1')" ngf-max-height="1000" ngf-max-size="3MB" />
                            </div>
                            <div class="uploadeFilename" title="{{uploadePicname}}">
                                <span ng-bind="uploadePicname" class="ng-binding" >上传</span>
                            </div>
                        </span>

                        <span class="s2 ng-binding"  ng-if="arraylist.p_type == 'date'" title="{{arraylist.s_desc}}">
                           <!--<input name="{{arraylist.listItemsname}}" type="date" value="$parent.conf[$index]" ng-model="$parent.conf[$index]" rquired ng-required/>-->
                            <input name="{{arraylist.listItemsname}}" type="text" value="$parent.conf[$index]" ng-model="$parent.conf[$index]" rquired ng-required ng-blur="value=checkDate(value);"/><label>(如：2017-05-27)</label>
                        </span>
                        <span class="s2 ng-binding"  ng-if="arraylist.p_type == 'radio'" title="{{arraylist.s_desc}}">
                            <span ng-repeat="item in arraylist.listItems">
                                 <input name="{{arraylist.listItemsname}}" ng-value="$index" ng-model="$parent.conf[arraylist.radioNum]" type="radio"/>&nbsp;&nbsp;<label>{{item}}</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            </span>
                        </span>
                        <span class="s2 ng-binding"  ng-if="arraylist.p_type == 'select'" title="{{arraylist.s_desc}}">
                             <span ng-repeat="item in arraylist.listItems">
                                 <input ng-true-value="1" ng-false-value="0" ng-model="$parent.conf[$index]" type="checkbox"/>&nbsp;&nbsp;<label>{{item}}</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            </span>
                        </span>
                    </div>
                </div>
            </div>
        </form>
    </aside>
</div>
<div authfooter></div>
</body>
</html>
